home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
devel
/
make
/
icmake-6.000
/
icmake-6
/
icmake
/
comp
/
firstarg.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-02-08
|
510 b
|
21 lines
/*
F I R S T A R G . C
*/
#include "iccomp.h"
static ESTRUC_
arr;
ESTRUC_ *firstarg(e)
ESTRUC_
*e;
{
etoc(e); /* argument is code now */
/* code points to ESTRUC_ */
arr.code = xrealloc(NULL, sizeof(ESTRUC_));
*(ESTRUC_ *)arr.code = *e; /* arr->code contains e */
arr.type = 1; /* type field: # of active e's */
return (&arr);
}